<div>
  <button (click)="tab()">去新闻列表</button>

  <a [routerLink]="['news/123']">去新闻列表</a>
</div>

